@(numQ : Int, userQcm : User_Qcm)

    
@import helper._

@main("questionsQCM") {
    
    <h2> <p class="text-info"> Questions du Qcm : @userQcm.getQcm().getLibelle(). </p></h2>
    
        
    <fieldset>
    
    	<div class="bs-docs-example" >
	
		<div class="bs-docs-example-after" >
		Question : @(numQ +1) sur @userQcm.getQcm().getListeQuestions().size()
		</div>
	 
	<form method="post" action="@routes.PasserQCM.questionSuivanteQCM(userQcm.getIdUserQcm())">
	<input type="hidden" name="numQ" value="@numQ">

			<legend>@userQcm.getQcm().getListeQuestions().get(numQ).getLibelleQuestion() </legend>
			
			 @if(userQcm.getQcm().getListeQuestions().get(0).getCommentaire()){
	 			<em> <p class="muted"> 
	 				&nbsp; @userQcm.getQcm().getListeQuestions().get(0).getCommentaire()
	 			 </p> </em>
			 }else{
			 <br>  
			 }
			
			
				@for(choix <- userQcm.getQcm().getListeQuestions().get(numQ).getListeChoix()) {
					<input type="checkbox" name="Choix@choix.getIdChoix()" value="@choix.getIdChoix()"> @choix.getDescriptifChoix() <br>
				}
    
	</div>		
	<button type="submit" class="btn btn-primary"> Question suivante <i class="icon-white icon-circle-arrow-right"></i> </button>
	</form>
	<br>

</fieldset>
     
}